package com.mall.syj.controller;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by zoomy-rd on 2017/1/4.
 */
@Controller
public class TestController {
    @ResponseBody
    @RequestMapping("/demo")
    String home() {
        return "demo test is ok !";
    }



}
